Benjamin Otte [Thu, 10 Apr 2014 14:45:37 +0000 (16:45 +0200)]
testgtk: Don't use deprecated functions in event watcher test
Benjamin Otte [Thu, 10 Apr 2014 14:42:59 +0000 (16:42 +0200)]
testgtk: Don't use deprecated functions in scrolled windows test
Benjamin Otte [Thu, 10 Apr 2014 14:35:51 +0000 (16:35 +0200)]
testgtk: Don't use deprecated functions in dialogs test
Benjamin Otte [Thu, 10 Apr 2014 14:16:41 +0000 (16:16 +0200)]
testgtk: Make dialogs example work without static variable
Makes it a bit more complicated, but meh.
Benjamin Otte [Thu, 10 Apr 2014 14:07:05 +0000 (16:07 +0200)]
testgtk: Clean up dialog example
Don't pass a static variable to a callback, when the static variable
could just be deinfed in the callback.
Benjamin Otte [Thu, 10 Apr 2014 12:28:44 +0000 (14:28 +0200)]
testgtk: Don't use deprecated functions in flipping test
Benjamin Otte [Thu, 10 Apr 2014 00:40:49 +0000 (02:40 +0200)]
testgtk: Don't use deprecated functions in scrolling test
Benjamin Otte [Thu, 10 Apr 2014 00:36:38 +0000 (02:36 +0200)]
testgtk: Don't call deprecated function in mainloop test
Benjamin Otte [Thu, 10 Apr 2014 00:29:54 +0000 (02:29 +0200)]
tests: Add deprecation guards
Benjamin Otte [Wed, 9 Apr 2014 23:53:57 +0000 (01:53 +0200)]
pixelcache: Add a warning for an invariant that shouldn't happen
Pixel caches should be unmapped before being freed and unmapping clears
those variables.
Benjamin Otte [Wed, 9 Apr 2014 22:15:05 +0000 (00:15 +0200)]
textview: Call map/unmap functions on pixel cache
https://bugzilla.gnome.org/show_bug.cgi?id=726475
Benjamin Otte [Wed, 9 Apr 2014 21:34:57 +0000 (23:34 +0200)]
treeview: Call map/unmap functions on pixel cache
https://bugzilla.gnome.org/show_bug.cgi?id=726475
Benjamin Otte [Wed, 9 Apr 2014 21:34:40 +0000 (23:34 +0200)]
viewport: Call map/unmap functions on pixel cache
https://bugzilla.gnome.org/show_bug.cgi?id=726475
Benjamin Otte [Wed, 9 Apr 2014 21:31:21 +0000 (23:31 +0200)]
pixelcache: Add map/unmap functions
Because GTK does not invalidate windows that aren't mapped, we cannot
update the pixel cache when the window it handles isn't mapped. So we
add API to call when GDK windows get mapped/unmapped.
https://bugzilla.gnome.org/show_bug.cgi?id=726475
Benjamin Otte [Wed, 9 Apr 2014 21:28:50 +0000 (23:28 +0200)]
pixelcache: Split out a function
https://bugzilla.gnome.org/show_bug.cgi?id=726475
Chun-wei Fan [Wed, 9 Apr 2014 06:03:01 +0000 (14:03 +0800)]
Visual C++ Builds: Fix Header Installation
Make sure that gtk/a11y/gtkpopoveraccessible.h is copied, so that programs
using GTK+'s a11y will compile correctly.
Yuri Myasoedov [Tue, 8 Apr 2014 20:22:57 +0000 (00:22 +0400)]
Fixed Russian translation
Matthias Clasen [Tue, 8 Apr 2014 03:17:56 +0000 (23:17 -0400)]
listbox: keep emitting ::row-selected
This was accidentally lost when multi-selection was added, causing
sidebars like the one in gnome-contacts or polari to not work any
more.
Piotr Drąg [Sun, 6 Apr 2014 11:10:52 +0000 (13:10 +0200)]
doap: update URLs
Yosef Or Boczko [Sun, 9 Feb 2014 15:51:52 +0000 (17:51 +0200)]
headerbar: Use popover for the fallback app menu
https://bugzilla.gnome.org/show_bug.cgi?id=723963
Matthias Clasen [Sun, 6 Apr 2014 06:13:06 +0000 (02:13 -0400)]
Deprecate gtk_application_add_accelerator
The new gtk_application_set_accels_for_action api is more flexible
and better.
Matthias Clasen [Sun, 6 Apr 2014 05:52:24 +0000 (01:52 -0400)]
Add new switch api to the docs
Matthias Clasen [Sat, 29 Mar 2014 17:41:25 +0000 (13:41 -0400)]
Add a delayed state test case
This adds a switch with delayed state change to testswitch,
demonstrating the functionality that was added in the previous
commit.
Matthias Clasen [Sat, 29 Mar 2014 17:40:08 +0000 (13:40 -0400)]
switch: Add a delayed state capability
This commit makes it possible for GtkSwitch to indicate when
the underlying state changes with a delay, causing the switch
to temporarily go 'out of sync' with the underlying change.
https://bugzilla.gnome.org/show_bug.cgi?id=725648
Matthias Clasen [Sun, 6 Apr 2014 05:51:38 +0000 (01:51 -0400)]
Add new listbox api to docs
Matthias Clasen [Sat, 29 Mar 2014 05:03:06 +0000 (01:03 -0400)]
list box: Avoid excessive signals
We were emitting the a11y ::selection-changed signal much more
often than ::selected-rows-changed. Thats not necessary.
Matthias Clasen [Sat, 29 Mar 2014 04:59:05 +0000 (00:59 -0400)]
Improve list selection example
Print out signals, so we see how often they are emitted.
Matthias Clasen [Sat, 29 Mar 2014 03:07:41 +0000 (23:07 -0400)]
list box: Cosmetic changes
Shorten variable names from list_box to box, throughout,
and use the BOX_PRIV macro everywhere.
Matthias Clasen [Sat, 29 Mar 2014 01:48:54 +0000 (21:48 -0400)]
Add a list box selection testcase
Matthias Clasen [Sat, 29 Mar 2014 02:10:27 +0000 (22:10 -0400)]
list box: Update accessible implementation
Now that multi selection is supported, we can provide a more
complete AtkSelection implementation.
Matthias Clasen [Sat, 29 Mar 2014 01:34:39 +0000 (21:34 -0400)]
list box: Implement multiple selection
This largely copies the flox box implementation, including the
same key bindings.
Matthias Clasen [Fri, 28 Mar 2014 23:21:57 +0000 (19:21 -0400)]
listbox: Add multi-selection API
This commit adds API for dealing with multi-selection. It is identical
to the flow box API for this purpose. The implementation is still limited
to single-selection, and will be updated in subsequent commits.
Matthias Clasen [Sat, 29 Mar 2014 01:50:44 +0000 (21:50 -0400)]
Add version macros for 3.14
Matthias Clasen [Sun, 6 Apr 2014 05:26:27 +0000 (01:26 -0400)]
Bump version to 3.13
John Lindgren [Sat, 5 Apr 2014 14:07:25 +0000 (10:07 -0400)]
Set use-fallback property to True for GtkScaleButton icons.
https://bugzilla.gnome.org/show_bug.cgi?id=727662
Jasper St. Pierre [Sun, 6 Apr 2014 02:44:00 +0000 (22:44 -0400)]
Make GtkAccelGroupEntry public again
Even though it was marked as internal, it seems gnome-terminal was
poking into the structure. It's unfortunately part of our ABI.
Matthias Clasen [Sat, 5 Apr 2014 15:21:50 +0000 (11:21 -0400)]
overlay: deal gracefully with main widget being absent
It can happen that we get a size request when the main widget
is still NULL. Currently we hit a critical in this case, and
stumble on. We can do better.
Opening a new tab in nautilus is hitting this case.
https://bugzilla.gnome.org/show_bug.cgi?id=727643
Matthias Clasen [Sat, 5 Apr 2014 06:04:12 +0000 (02:04 -0400)]
Clean up private headers
This commit adds a few missing private headers, and cleans up
some irregularities in the existing ones
maria thukididu [Fri, 4 Apr 2014 12:28:43 +0000 (15:28 +0300)]
Updated Greek translation
maria thukididu [Fri, 4 Apr 2014 12:25:46 +0000 (15:25 +0300)]
Updated Greek translation
Руслан Ижбулатов [Wed, 2 Apr 2014 17:42:31 +0000 (17:42 +0000)]
W32: Give unfocused selected list items special background, like Explorer does
https://bugzilla.gnome.org/show_bug.cgi?id=727244
Matthias Clasen [Fri, 4 Apr 2014 05:28:09 +0000 (01:28 -0400)]
csd: Drop the GTK_FRAME_EXTENTS requirement
We are getting bug reports from people who are irritated that
dialogs now have 'double headers' under any wm but gnome-shell.
As an example, xfwm4 seems to do ok with csd windows, and
on balance it seems better to have some invisible border issues
than to have double headers.
https://bugzilla.gnome.org/show_bug.cgi?id=727414
Matthias Clasen [Fri, 4 Apr 2014 05:25:14 +0000 (01:25 -0400)]
docs: More uniform formatting
Make all occurrences of hex in gdkcolor.c use “.
Volker Sobek [Fri, 28 Mar 2014 20:55:03 +0000 (21:55 +0100)]
docs: Remove '\' escape character from literals
commit
7f6a964c47ad2f9dcf6a00044d938840ce8f01f2 replaced entities, but
escaped the replacement text also inside literals, which resulted in the
escaping '\' to also appear in the documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=727322
Sébastien Wilmet [Thu, 3 Apr 2014 16:22:31 +0000 (18:22 +0200)]
doc: fix gtk_window_destroy() -> gtk_widget_destroy()
Reviewed-by: Emmanuele Bassi
Chun-wei Fan [Thu, 3 Apr 2014 07:49:05 +0000 (15:49 +0800)]
Visual C++ Builds: Build Introspection for GdkWin32
Add support to build the introspection files for GdkWin32, as done recently
in the autotools builds and clean up the NMake Makefile for building the
introspection files a bit.
For some reason, gdk_win32_display_manager_get_type() was not exported in
gdk-3.0.lib, force its export, so that the GdkWin32-3.0.gir can be built
properly with the Visual C++ builds. This is a known problem that some
symbols in static libraries that are linked into a DLL in Visual C++, even
if they were marked with __declspec(dllexport) via _GDK_EXTERN.
Chun-wei Fan [Thu, 3 Apr 2014 07:07:44 +0000 (15:07 +0800)]
MSVC Builds: Clean up gtk-version-paths.*props
Remove lines that are not really referred to.
Matthias Clasen [Wed, 2 Apr 2014 16:41:24 +0000 (12:41 -0400)]
Drop an unnecessary include
These tests are better if they can be built standalone.
Matthias Clasen [Wed, 2 Apr 2014 13:51:01 +0000 (09:51 -0400)]
Add a big combobox test case
I've seen many bugs about long combo box popups getting misplaced
or wrongly sized. Time to add a testcase.
Jonas Danielsson [Sat, 29 Mar 2014 20:51:31 +0000 (21:51 +0100)]
a11y: atk_table_get_row_at_index is deprecated
Do not use deprecated index based AtkTable functions use static
helper instead.
https://bugzilla.gnome.org/show_bug.cgi?id=727313
Jonas Danielsson [Sat, 29 Mar 2014 20:48:43 +0000 (21:48 +0100)]
a11y: atk_component_get_position is deprecated
Switch to using atk_component_get_extents instead.
https://bugzilla.gnome.org/show_bug.cgi?id=727313
Michael Natterer [Tue, 1 Apr 2014 23:03:54 +0000 (01:03 +0200)]
treeview: remove unused members from GtkTreeView Private
Pau Iranzo [Tue, 1 Apr 2014 21:56:51 +0000 (23:56 +0200)]
[l10n] Update Catalan translation
Руслан Ижбулатов [Mon, 31 Mar 2014 16:01:55 +0000 (16:01 +0000)]
W32: style tooltips with appropriately-themed background
https://bugzilla.gnome.org/show_bug.cgi?id=727410
Руслан Ижбулатов [Mon, 31 Mar 2014 15:54:09 +0000 (15:54 +0000)]
W32: give scrollbar slider active and insensitive styles
https://bugzilla.gnome.org/show_bug.cgi?id=727391
Руслан Ижбулатов [Fri, 28 Mar 2014 14:03:30 +0000 (14:03 +0000)]
Give CC to instrospection scanner
Introspection scanner-generation script gets compiler from the CC
environment, we need to set it.
https://bugzilla.gnome.org/show_bug.cgi?id=722817
Руслан Ижбулатов [Fri, 28 Mar 2014 14:02:39 +0000 (14:02 +0000)]
Introspection for gdk-win32
https://bugzilla.gnome.org/show_bug.cgi?id=722817
Руслан Ижбулатов [Fri, 28 Mar 2014 13:30:40 +0000 (13:30 +0000)]
W32: Add .dim-label style
https://bugzilla.gnome.org/show_bug.cgi?id=727245
Руслан Ижбулатов [Fri, 28 Mar 2014 12:50:51 +0000 (12:50 +0000)]
W32: Fix listbox selection
* Makes listbox background white instead of default grey
* Uses gradients or W32 theme parts to draw sexy selection/prelight
rectangle instead of changing selected/prelighted item background
* Removes blanket button text color, allowing buttons to inherit
text color from their parents. Non-normal buttons DO get specific
text color though. This partially fixes text color propagation from
listbox rows to their children.
https://bugzilla.gnome.org/show_bug.cgi?id=727244
Руслан Ижбулатов [Fri, 28 Mar 2014 00:27:04 +0000 (00:27 +0000)]
W32: Add MSW7 notebook theme, move old notebook theme into XP-only CSS
https://bugzilla.gnome.org/show_bug.cgi?id=727213
Руслан Ижбулатов [Wed, 26 Mar 2014 11:59:52 +0000 (11:59 +0000)]
W32: Remove selection from check/radio marks
Current theme allows selection to leak into check/radio marks,
resulting in ugly colored rectangles showing up underneath the marks.
https://bugzilla.gnome.org/show_bug.cgi?id=727211
Руслан Ижбулатов [Wed, 26 Mar 2014 11:57:05 +0000 (11:57 +0000)]
W32: Add dummy prelight style to check/radio buttons to propagate prelight to check/radio marks
https://bugzilla.gnome.org/show_bug.cgi?id=727210
Руслан Ижбулатов [Wed, 26 Mar 2014 07:17:04 +0000 (07:17 +0000)]
W32: re-enable grip theming
https://bugzilla.gnome.org/show_bug.cgi?id=727080
Руслан Ижбулатов [Wed, 26 Mar 2014 07:04:38 +0000 (07:04 +0000)]
W32: Add GtkPopover theming
https://bugzilla.gnome.org/show_bug.cgi?id=727078
Руслан Ижбулатов [Wed, 26 Mar 2014 06:54:52 +0000 (06:54 +0000)]
W32: Make combobox-entry thinner by removing unneeded padding
https://bugzilla.gnome.org/show_bug.cgi?id=727075
Руслан Ижбулатов [Tue, 25 Mar 2014 17:47:08 +0000 (17:47 +0000)]
W32: Fix menu item size and submenu arrow size
https://bugzilla.gnome.org/show_bug.cgi?id=727037
Руслан Ижбулатов [Tue, 25 Mar 2014 17:35:02 +0000 (17:35 +0000)]
W32: Fix combobox dropdown list color
https://bugzilla.gnome.org/show_bug.cgi?id=727036
Руслан Ижбулатов [Tue, 25 Mar 2014 17:25:47 +0000 (17:25 +0000)]
W32: Fix double-arrowed combobox button
The arrow is part of the background image drawn by the theme, don't draw
GTK's own arrow. This also applies to non-entry comboboxes.
On XP the arrow-and-nothing-else part does not exist (W32 XP theme draws a
white rectangle) and has to be subtituted for a simple dropdown button even
for non-entry comboboxes.
https://bugzilla.gnome.org/show_bug.cgi?id=727035
Руслан Ижбулатов [Tue, 25 Mar 2014 15:47:56 +0000 (15:47 +0000)]
Fix W32 theme for spinbuttons
It seems that the dec-button no longer has a "bottom" selector-thingy to
select for. Use "last-child" instead.
Use .vertical to style vertical instance differently, as last-child/first-child
meaning is inverted there.
Increase (towards 0) margins a bit, to avoid clipping the pre-light rectangle.
Use dir(rtl) selector to style horizontal instance differently for RTL locales,
where first-child is "inc".
https://bugzilla.gnome.org/show_bug.cgi?id=727022
Paolo Borelli [Sun, 30 Mar 2014 16:29:15 +0000 (18:29 +0200)]
textbufferserialize: do not leak list of tags
Paolo Borelli [Sun, 30 Mar 2014 09:57:23 +0000 (11:57 +0200)]
application-dbus: free strings during finalization
Paolo Borelli [Sat, 29 Mar 2014 22:14:51 +0000 (23:14 +0100)]
stackswitcher: do not leak buttons hash table
Matthias Clasen [Sat, 29 Mar 2014 04:46:51 +0000 (00:46 -0400)]
flow box: Avoid excessive signals
We were emitting the a11y ::selection-changed signal much more
often than ::selected-children-changed. Thats not necessary.
Matthias Clasen [Sat, 29 Mar 2014 04:24:15 +0000 (00:24 -0400)]
docs: Another round of markup removal
Matthias Clasen [Fri, 28 Mar 2014 23:19:37 +0000 (19:19 -0400)]
Trivial typo fix
Matthias Clasen [Fri, 28 Mar 2014 22:21:59 +0000 (18:21 -0400)]
Docs: remove some leftover markup
Jonas Danielsson [Fri, 28 Mar 2014 12:43:33 +0000 (13:43 +0100)]
clipboard: Add link to GdkDisplay in doc
https://bugzilla.gnome.org/show_bug.cgi?id=712752
Chun-wei Fan [Fri, 14 Mar 2014 08:33:53 +0000 (16:33 +0800)]
gdkproperty-win32.c: Fix gtk-font-name handling
...on Windows 8+ and when the system setting for non-Unicode programs do
not match the language version of Windows by falling back to using Pango.
This ensures that the correct font is used during these scenarios, so that
we minimize the risk of seeing garbled characters for texts that the system
code page does not support due to system peculiarties. There might be a
way to support gtk-font-name handling using the native Windows APIs
directly on Windows 8+, but that needs to be investigated.
https://bugzilla.gnome.org/show_bug.cgi?id=726298
Bastien Nocera [Sat, 22 Mar 2014 11:47:55 +0000 (12:47 +0100)]
treeview: Lower the duration of validation iterations
GTK_TREE_VIEW_TIME_MS_PER_IDLE is currently 30 milliseconds, meaning
that validate_rows will validate rows up until all the validations have
taken over 30 msecs. So it's likely to block redrawing via the clock
frame update mechanism, as that tops at 16.66 milliseconds per frame
(1/60th of a second).
Stop validating rows if we've spent more than 3/5 of our allotted budget
for inter-frame processing, so as to avoid blocking.
In the future, we would probably want to calculate how long we would
have left until the next frame, especially if higher priority idles
and timeouts have already consumed a portion of that allotted time.
https://bugzilla.gnome.org/show_bug.cgi?id=726871
Olivier Brunel [Thu, 16 Jan 2014 14:23:20 +0000 (15:23 +0100)]
treemodelfilter: Fix using wrong path on row-deleted
A "typo" led to using a wrong GtkTreePath when converting the path of the
virtual root to check the ancestors, which would lead to either no checks being
performed, or maybe segfaulting when using an invalid path as result.
https://bugzilla.gnome.org/show_bug.cgi?id=722058
Signed-off-by: Olivier Brunel <jjk@jjacky.com>
John Lindgren [Sat, 22 Mar 2014 03:12:04 +0000 (23:12 -0400)]
Allow gtk_radio_menu_item_set_group() to be called twice without crashing.
https://bugzilla.gnome.org/show_bug.cgi?id=726859
Bastien Nocera [Sat, 22 Mar 2014 11:44:01 +0000 (12:44 +0100)]
all: Name more idles and timeouts
Following up from
438cd857c49242244dda2923ac447f36464b9e72,
name more timeouts and idles.
The original grep was missing checking for gdk_threads_add_*()
functions (at least for some of the files).
https://bugzilla.gnome.org/show_bug.cgi?id=726870
Matthias Clasen [Thu, 27 Mar 2014 00:00:58 +0000 (20:00 -0400)]
widget-factory: Use a popover gear menu
Inaki Larranaga Murgoitio [Wed, 26 Mar 2014 13:52:54 +0000 (14:52 +0100)]
Updated Basque language
Inaki Larranaga Murgoitio [Wed, 26 Mar 2014 13:39:31 +0000 (14:39 +0100)]
Updated Basque language
Stas Solovey [Wed, 26 Mar 2014 13:39:19 +0000 (13:39 +0000)]
Updated Russian translation
Yuri Myasoedov [Wed, 26 Mar 2014 08:12:25 +0000 (12:12 +0400)]
Some fixes for Russian translation
Yuri Myasoedov [Wed, 26 Mar 2014 07:43:08 +0000 (11:43 +0400)]
Some fixes for Russian translation
Yuri Myasoedov [Wed, 26 Mar 2014 07:27:40 +0000 (11:27 +0400)]
Some fixes and updates for Russian translation
Joanmarie Diggs [Mon, 24 Mar 2014 22:19:40 +0000 (18:19 -0400)]
Add missing AtkRelations for labelled containers in the print dialog
These AtkRelation types are added automatically for widgets with a label
specified (e.g. via gtk_label_set_mnemonic_widget, gtk_frame_set_label,
and gtk_frame_set_label_widget). When such specification is absent, the
accessible relationship must be manually set.
https://bugzilla.gnome.org/show_bug.cgi?id=726996
Antoine Jacoutot [Tue, 25 Mar 2014 11:24:41 +0000 (12:24 +0100)]
prevent redefinition of typedef GtkPrinterCloudprint
https://bugzilla.gnome.org/show_bug.cgi?id=727009
Matthias Clasen [Tue, 25 Mar 2014 01:07:09 +0000 (21:07 -0400)]
Bump version
Matthias Clasen [Mon, 24 Mar 2014 16:55:41 +0000 (12:55 -0400)]
3.12.0
Cosimo Cecchi [Tue, 25 Mar 2014 00:14:43 +0000 (20:14 -0400)]
icontheme: fix emblemed icons fallout
Commit
faba7df4fea6cd09470b3b2cc277c35e6cf7c380 changed the logic in
apply_emblems() so that GtkIconInfo->emblems_applied would be set to
TRUE even in case there was no emblem info available, which confuses the
theme cache.
This commit changes the logic back, so that NULL is returned from
apply_emblems_to_pixbuf() when there are no emblems available, fixing
the bug.
https://bugzilla.gnome.org/show_bug.cgi?id=726830
Matthias Clasen [Tue, 25 Mar 2014 00:10:02 +0000 (20:10 -0400)]
Add a testcase for icons with emblems
This is a testcase for
https://bugzilla.gnome.org/show_bug.cgi?id=726830
Matthias Clasen [Mon, 24 Mar 2014 18:28:03 +0000 (14:28 -0400)]
Minor update of a11y test output
Matthias Clasen [Mon, 24 Mar 2014 17:36:13 +0000 (13:36 -0400)]
Update release notes
Johannes Wellhöfer [Sun, 13 Oct 2013 14:15:18 +0000 (16:15 +0200)]
Also revert enable-mnemonics code in gtkwindow, which was forgotten in commit
34cf40e95cb1f0bc4bb98bb14edb03dd86f1dab3.
https://bugzilla.gnome.org/show_bug.cgi?id=708346
Christian Kirbach [Mon, 24 Mar 2014 22:20:06 +0000 (22:20 +0000)]
Updated German translation
Matthias Clasen [Mon, 24 Mar 2014 16:49:32 +0000 (12:49 -0400)]
wayland: Mark ourselves as not supporting compositing
The compositing that is meant here is really specific to the
X11 Composite extension, and does not apply to Wayland.
This is very rarely used functionality anyway, and none of
the other backends support it.